package com.xhtt.fzxy.console;

/**
 * auth: WenYF
 * date: 2018/5/5
 */
public class Admin {
    String username;
    public String email;
    public String name;
    public long lastTimeLogin;
    public long startTime;
    public long currentLoginTime;
    public String authToken;
    public long expire;
    public int level;
    public String levelName;
    public String sessionId;
    
    public static class Level {
        static int super_admin = 0;    // 0
        static int admin = 1;
        static int operator = 2;
        static int customer_service = 3;
        static int other = 4;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "username='" + username + '\'' +
                ", email='" + email + '\'' +
                ", name='" + name + '\'' +
                ", lastTimeLogin=" + lastTimeLogin +
                ", startTime=" + startTime +
                ", currentLoginTime=" + currentLoginTime +
                ", authToken='" + authToken + '\'' +
                ", expire=" + expire +
                ", level=" + level +
                ", sessionId='" + sessionId + '\'' +
                '}';
    }
}
    